

$("#updateBtn").click(function () {
    update();
});



function update() {
    $.ajax({
        type: "GET",
        dataType: "json",
        url: "rest/student/update", //更新路径
        data: $("#update").serialize(),
        success: function() {
            alert("修改成功");
            window.location.href = "rest/student/listUserStudent"; //跳转到列表页面
        }
    })
}